﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="false" CodeFile="SystemConfigEdit.aspx.vb" Inherits="Administrator_SystemConfigEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width:100%;" class="control">
                <tr>
                    <td style="width: 351px" align="left">
                        กำหนดวันหมดอายุรหัสผ่านของผู้ดูแลระบบ (Admin)</td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtExpirePwdAdmin" runat="server" Width="50px" 
                            CssClass="control" MaxLength="3" Height="20px" AutoCompleteType="Disabled">30</asp:TextBox>
                        &nbsp;วัน</td>
                    <td style="width: 160px" align="left">
                        <asp:HiddenField ID="hfExpirePwdAdmin" runat="server" />
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkExpirePwdAdmin" runat="server" style="color: #FF0000" 
                            Visible="False" CssClass="control"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 351px">
                        กำหนดวันหมดอายุรหัสผ่านของผู้ใช้งาน (User)</td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtExpirePwdUser" runat="server" CssClass="control" 
                            Width="50px" MaxLength="3" Height="20px" AutoCompleteType="Disabled">30</asp:TextBox>
                        &nbsp;วัน</td>
                    <td align="left" style="width: 160px">
                        <asp:HiddenField ID="hfExpirePwdUser" runat="server" />
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkExpirePwdUser" runat="server" CssClass="control" 
                            style="color: #FF0000" Visible="False"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 351px" align="left">
                        กำหนดการ login ผิดพลาดได้ไม่เกิน
                    </td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtNumFalseLogin" runat="server" Width="50px" 
                            CssClass="control" MaxLength="3" Height="20px" AutoCompleteType="Disabled">5</asp:TextBox>
                        &nbsp;ครั้ง</td>
                    <td style="width: 160px" align="left">
                        <asp:HiddenField ID="hfNumFalseLogin" runat="server" />
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkNumFalseLogin" runat="server" style="color: #FF0000" 
                            Visible="False" CssClass="control"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 351px" align="left">
                        กำหนดให้มีการเก็บ log file ไว้อย่างน้อย
                    </td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtGetLogFile" runat="server" Width="50px" CssClass="control" 
                            MaxLength="3" Height="20px" AutoCompleteType="Disabled">90</asp:TextBox>
                        &nbsp;เดือน</td>
                    <td style="width: 160px" align="left">
                        <asp:HiddenField ID="hfGetLogFile" runat="server" />
                    </td>
                    <td align="left">
                        &nbsp;<asp:Label ID="lblChkGetLogFile" runat="server" style="color: #FF0000" 
                            Visible="False" CssClass="control"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 351px" align="left">
                        กำหนดการแจ้งเตือนให้ผู้ใช้ให้เปลี่ยน password ทราบก่อน</td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtAlertBeforeExpirePwd" runat="server" Width="50px" 
                            CssClass="control" MaxLength="3" Height="20px" AutoCompleteType="Disabled">7</asp:TextBox>
                        &nbsp;วัน</td>
                    <td style="width: 160px" align="left">
                        <asp:HiddenField ID="hfAlertBeforeExpirePwd" runat="server" />
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkAlertBeforeExpirePwd" runat="server" 
                            style="color: #FF0000" Visible="False" CssClass="control"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 351px">
                        กำหนดการแจ้งเตือนผู้ใช้งานหมดอายุทราบก่อน</td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtAlertBeforeExpireUser" runat="server" CssClass="control" 
                            Width="50px" MaxLength="3" Height="20px" AutoCompleteType="Disabled">7</asp:TextBox>
                        &nbsp;วัน</td>
                    <td align="left" style="width: 160px">
                        <asp:HiddenField ID="hfAlertBeforeExpireUser" runat="server" />
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkAlertBeforeExpireUser" runat="server" CssClass="control" 
                            style="color: #FF0000" Visible="False"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 351px" align="left">
                        กำหนดค่าตั้งต้นวันหมดอายุของผู้ใช้งาน</td>
                    <td style="width: 111px; text-align: left;">
                        <asp:TextBox ID="txtDefaultExpirePwdUser" runat="server" Width="50px" 
                            CssClass="control" MaxLength="4" Height="20px" AutoCompleteType="Disabled">90</asp:TextBox>
                        &nbsp;วัน</td>
                    <td style="width: 160px" align="left">
                        <asp:HiddenField ID="hfDefaultExpirePwdUser" runat="server" />
                    </td>
                    <td align="left">
                        &nbsp;<asp:Label ID="lblChkDefaultExpirePwdUser" runat="server" 
                            style="color: #FF0000" Visible="False" CssClass="control"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 351px">
                        กำหนดค่าตั้งต้นรหัสผ่าน<asp:HiddenField ID="hfDefaultPassword" runat="server" />
                    </td>
                    <td align="left" colspan="2">
                        <asp:TextBox ID="txtDefaultPassword" runat="server" CssClass="control" 
                            TextMode="Password" Width="150px" Height="20px" 
                            AutoCompleteType="Disabled">password</asp:TextBox>
                    </td>
                    <td align="left">
                        <asp:Label ID="lblChkDefaultPassword" runat="server" CssClass="control" 
                            style="color: #FF0000" Visible="False"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4">
                        <asp:Button ID="btnOK" runat="server" Text="ตกลง" Width="60px" 
                            CssClass="control" />
                        &nbsp;<asp:Button ID="btnCancel" runat="server" Text="ยกเลิก" Width="60px" 
                            CssClass="control" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

